#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#    @Author :Alex
#
#              _____               ______
#     ____====  ]OO|_n_n__][.      |    |]
#    [________]_|__|________)<     
#     oo    oo  'oo OOOO-| oo\_   ~o~~~o~'
# +--+--+--+--+--+--+--+--+--+--+--+--+--+
#    @Time : 2024/11/2 19:26
#    @FIle： run.py
#    @Software: PyCharm
import os

import pytest

if __name__ == '__main__':
    pytest.main(["./test_script", "-sv", "--alluredir", "./report/temp_jsonreport"])
    # https://blog.csdn.net/qsmy_an/article/details/126638230
    os.system("allure generate ./report/temp_jsonreport -o ./report/html --clean")
